<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Downloads.aspx.vb" Inherits="ICLI.Downloads" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link href="estilo.css" rel="stylesheet" type="text/css" />
</head>
<body topmargin="5">
    <form id="form1" runat="server">
        <table cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td colspan="1" style="height: 20px">
                    <asp:Label ID="Label1" runat="server" CssClass="Texto" Text="Lista de Arquivo(s) para download:" Font-Bold="True"></asp:Label></td>
            </tr>
            <tr>
                <td>
                    <asp:DataList ID="DataList1" runat="server" CellPadding="4" DataKeyField="IDDownload" DataSourceID="AccessDataSource1" ForeColor="#333333" Width="100%">
                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <SelectedItemStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                        <ItemTemplate>
                            <asp:HyperLink ID="HyperLink2" runat="server" CssClass="TextoSubForum" NavigateUrl='<%# Eval("Link") %>'
                                Target="_blank" Text='<%# Eval("Nome") %>'></asp:HyperLink><br />
                            <asp:HyperLink ID="HyperLink1" runat="server" CssClass="Texto" Text='<%# Eval("Descricao") %>'></asp:HyperLink>
                        </ItemTemplate>
                        <AlternatingItemStyle BackColor="White" />
                        <ItemStyle BackColor="#EFF3FB" />
                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    </asp:DataList>
                    <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/Banco.mdb"
                        SelectCommand="SELECT * FROM [Downloads]"></asp:AccessDataSource>
                </td>
            </tr>
            <tr>
                <td style="height: 19px;">
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
